<div class="catalog-sidebar">
            <div class="sidebar-caption">Категория транспорта</div>
<ul class="catalog-category">
    <? foreach($this->categories as $category):?>
        <li><a  href="/car/add#category/<?=$category['id'] ?>" id="cat_<?=$category['id'] ?>" class="icon-<?=$category['rewrite']; ?><? if($this->selected == $category['id'])print ' active'; ?>" title="<?= $category['name']; ?>"><?= $category['name']; ?></a></li>
    <? endforeach; ?>
</ul>
</div>